<?php

$stime = microtime(true);

try{
    define("FV_APP", "backend");
    require_once("../../engine_mid/config.inc.php");
    $current_lang = fvRequest::getInstance()->getRequestParameter("lang") ? fvRequest::getInstance()->getRequestParameter("lang") : (fvSite::$fvSession->get("lang") ? fvSite::$fvSession->get("lang") : "rus");
 	fvSite::$fvSession->set("lang", $current_lang);
    fvDispatcher::getInstance()->process();
}
catch (Exception $e) {
    errorHandler($e);
}    
    //echo "<CENTER><TT>" . (sprintf("%.4f", (microtime(true) - $stime))) . "</TT></CENTER>";
?>